package com.hqyj.crmdemo.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.hqyj.crmdemo.entity.Custmer;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.crmdemo.entity.Report;
import com.hqyj.crmdemo.entity.SaleChance;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 何万林
 * @since 2022-10-17
 */
public interface ICustmerService extends IService<Custmer> {

    Custmer queryOne(Integer custmerId);

    List<Custmer> queryAll();

    List<Report> countByLevel();

    List<Custmer> queryOne(QueryWrapper queryWrapper);

    Boolean add(Custmer custmer);

    Boolean update(Custmer custmer);

    Boolean delete(Integer custmerId);
}
